package min.chapter.three;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class MapFilterAcquisition {

	public static void main(String[] args) {
		ApplicationContext context = new ClassPathXmlApplicationContext(
				"min/chapter/three/MapFiter.xml");
		MapProcess p = context.getBean("bean", MapProcess.class);
		p.getFilters().get("java").print();
		p.getFilters().get("jsp").print();
	}

}
